﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageNotifications.aspx.cs" Inherits="BIMP.ADMIN.BIMP.ManageNotifications" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div>
    <SharePoint:MenuTemplate runat="server" ID="NotificationsGridMenu">
        <SharePoint:MenuItemTemplate ID="MenuItemTemplate1" runat="server" Text="Enable" ImageUrl="/_layouts/images/BIMP/MenuItemEnable.gif" />
        <SharePoint:MenuItemTemplate ID="MenuItemTemplate2" runat="server" Text="Disable" ImageUrl="/_layouts/images/BIMP/MenuItemDisable.gif" />
        <SharePoint:MenuSeparatorTemplate runat="server" />
        <SharePoint:MenuItemTemplate ID="MenuItemTemplate3" runat="server" Text="Edit" ImageUrl="/_layouts/images/BIMP/MenuItemEdit.gif" />
        <SharePoint:MenuItemTemplate ID="MenuItemTemplate4" runat="server" Text="Run Now" ImageUrl="/_layouts/images/BIMP/MenuItemRunNow.gif" />
        <SharePoint:MenuSeparatorTemplate runat="server" />
        <SharePoint:MenuItemTemplate ID="MenuItemDelete" runat="server" Text="Delete" ImageUrl="/_layouts/images/BIMP/MenuItemDelete.gif" />
    </SharePoint:MenuTemplate>
    <SharePoint:SPGridView ID="NotificationsGrid" runat="server" AutoGenerateColumns="false" AllowSorting="true" OnSorting="SortGrid">
        <Columns>
            <SharePoint:SPMenuField HeaderText="Notification" TextFields="Title" TokenNameAndValueFields="TITLE=Guid" MenuTemplateId="NotificationsGridMenu" />
            <SharePoint:SPBoundField HeaderText="Author" DataField="Author" SortExpression="Author" /> 
            <SharePoint:SPBoundField HeaderText="Last Run Time" DataField="LastRunTime" SortExpression="LastRunTime" HeaderImageUrl="" /> 
            <SharePoint:SPBoundField HeaderText="Last Run Status" DataField="LastRunStatus" SortExpression="LastRunStatus" HeaderImageUrl="" /> 
        </Columns>
    </SharePoint:SPGridView>
    </div>
    <div>
        <SPAN style="POSITION: relative; WIDTH: 10px; DISPLAY: inline-block; HEIGHT: 10px; OVERFLOW: hidden" class=s4-clust>
            <IMG style="POSITION: absolute; TOP: -128px !important; LEFT: 0px !important" alt="" src="/_layouts/images/fgimg.png">
        </SPAN>&nbsp;
        <A class=ms-addnew onclick='javascript:;javascript:return false;' href="" target="_self">Add New Notification</A>
    </div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="lblPageTitle" runat="server" Text="" />
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    <SharePoint:EncodedLiteral ID="lblPageTitleInTitleArea" runat="server" Text="" />
</asp:Content>
